class  Config(object):

    DEBUG=True
    REDIS_HOST="127.0.0.1"
    REDIS_PORT=6379
    SQLALCHEMY_DATABASE_URI = "mysql://root:mysql@127.0.0.1:3306/info_gz09"
    # 设置不跟踪数据库的修改
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SESSION_REDIS = redis.StrictRedis(host=REDIS_HOST, port=REDIS_PORT)
    SECRET_YEY = "#@$@#$%^$#%#$@#@$"
    SESSION_TYPE = "redis"
    SESSION_USE_SIGNR = True

    PERMANENT_SESSION_LIFETIME=3600*24*2